package com.sservice.model.dao;

import com.sservice.model.entity.Ads;
import com.sservice.model.vo.AdsVo;

import java.util.List;

public interface AdsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Ads record);

    int insertSelective(Ads record);

    Ads selectByPrimaryKey(Integer id);

    List<AdsVo> selectAll(AdsVo arg);

    int updateByPrimaryKeySelective(Ads record);

    int updateByPrimaryKey(Ads record);

    List<Ads> queryByPage(AdsVo asv);

    int queryCount(AdsVo asv);

}